package service;

import java.util.List;

import pojo.MerchantApplication;

public interface MerchantApplicationManager {
	public int add(MerchantApplication merchantApplication);
	
	public List<MerchantApplication> getAll();
	
	public MerchantApplication get(String id);
	
	public List<MerchantApplication> getByStatus(String status);
	
	public MerchantApplication getByName(String name);
	
	public String updateStatusByName(String name,String operation);
	
	public int updateByName(MerchantApplication application);
	
	public String audit(MerchantApplication application);
	
}
